package com.dm.hdfxxt.projectmanage.mapper;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Mapper
@Component(value ="projectMapper")
public interface ProjectMapper {
    int updatePassword(Map<String, Object> param);

    List<Map<String,Object>> queryFirstLevel(Map<String, Object> param);

    List<Map<String,Object>> querySecondLevel(Map<String, Object> param);

    int saveFirstLevel(Map<String, Object> param);

    int saveSecondLevel(Map<String, Object> param);

    List<Map<String,Object>> queryProjectTree(Map<String, Object> param);

    int updateProjectBm(Map<String, Object> param);

    List<Map<String,Object>> queryNeedInputInfo(Map<String, Object> param);

    List<Map<String,Object>> queryExistServiceInfo(Map<String, Object> param);

    int saveServiceInfo(Map<String, Object> param);

    int updateServiceInfo(Map<String, Object> param);

    List<Map<String,Object>> queryAllServiceDataInfos(Map<String, Object> param);

    List<Map<String,Object>> queryAllProjectDiGui(Map<String, Object> param);

    Map<String,Object> queryProjectDiGui(Map<String, Object> paramMap);

    List<Map<String,Object>> queryProjectDiGuiFirstLevelIsNotNull(Map<String, Object> paramMap);

    List<Map<String,Object>> queryAllServiceDataInfosFirstLevelIsNotNull(Map<String, Object> param);

    List<Map<String,Object>> queryProjectDiGuiSecondLevelIsNotNull(Map<String, Object> paramMap);

    List<Map<String,Object>> queryProjectDiGuiThirdLevelIsNotNull(Map<String, Object> paramMap);

    int saveGift(Map<String, Object> param);

    List<Map<String,Object>> queryAllGifts(Map<String, Object> param);

    int delGiftInfo(Map<String, Object> param);

    List<Map<String,Object>> queryGiftByTel(Map<String, Object> param);

    List<Map<String,Object>> queryDiGuiProject(Map<String, Object> param);

    List<Map<String,Object>> quertBottomMoney(Map<String, Object> tempServiceMap);

    List<Map<String,Object>> queryDiGuiProjectByTopID(Map<String, Object> param);

    List<Map<String,Object>> queryDiCenStoreAndMoney(Map<String, Object> serviceTempMap);

    List<Map<String,Object>> queryTheme(Map<String, Object> param);

    List<Map<String,Object>> queryDataTotal(Map<String, Object> param);

    int updateDataTotal(Map<String, Object> param);

    int saveDataTotal(Map<String, Object> param);

    List<Map<String,Object>> queryNeedInputInfoFuzong(Map<String, Object> param);
}
